projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfbc4c
)
(x_figure_window_size): Do not allow new_height and
author
Jason Rumney
<jasonr@gnu.org>
Mon, 1 Jan 2001 22:25:57 +0000
(22:25 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Mon, 1 Jan 2001 22:25:57 +0000
(22:25 +0000)
new_width of frame to override specified values.
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 7e22b084ff80f445db83bc85112154582ce12ae6..657d5dd661220086a0051c610533a3559ecab472 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-3210,6
+3210,11
@@
x_figure_window_size (f, parms)
f->output_data.w32->top_pos = 0;
f->output_data.w32->left_pos = 0;
+ /* Ensure that old new_width and new_height will not override the
+ values set here. */
+ FRAME_NEW_WIDTH (f) = 0;
+ FRAME_NEW_HEIGHT (f) = 0;
+
tem0 = w32_get_arg (parms, Qheight, 0, 0, RES_TYPE_NUMBER);
tem1 = w32_get_arg (parms, Qwidth, 0, 0, RES_TYPE_NUMBER);
tem2 = w32_get_arg (parms, Quser_size, 0, 0, RES_TYPE_NUMBER);